import type {RouteRecordRaw} from 'vue-router';

import {BasicLayout} from '#/layouts';

const routes: { path: string; component: () => Promise<{}>; children: ({ path: string; component: () => Promise<{}>; meta: { icon: string; title: string }; name: string } | { path: string; component: () => Promise<{}>; meta: { icon: string; title: string }; name: string })[]; meta: { keepAlive: boolean; icon: string; title: string; order: number }; name: string }[] = [

  {
    component: BasicLayout,
    meta: {
      icon: 'ic:baseline-view-in-ar',
      keepAlive: true,
      order: 6,
      title: '调度管理',
    },
    name: 'Scheduling',
    path: '/scheduling',
    children: [
      {
        name: 'schedulingList',
        path: '/scheduling/list',
        component: () => import('#/views/scheduling/list/schedulingList.vue'),
        meta: {
          icon: 'mdi:page-previous-outline',
          title: '调度管理列表'
        },
      },
    ],
  },

];

export default routes;
